package cn.sfrog.project.biz.web.vo.study;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 分页数据
 *
 * @author sfrog
 */
@Data
@ApiModel(description = "捐助表单VO")
public class AppProjectDonateFormVO {

    @ApiModelProperty("项目id")
    @NotNull(message = "项目id不能为空")
    private Long projectId;

    @ApiModelProperty("捐助金额")
    @NotNull(message = "捐助金额不能为空")
    private BigDecimal donateAmount;

    @ApiModelProperty("备注")
    private String remark;
}
